﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;

namespace Domotica.Gazing.Extenders
{
    public static class PointExtender
    {
        public static Point Multiply(this Point p, int s)
        {
            return new Point(p.X * s, p.Y * s);
        }

        public static PointF ConvertPointF(this Point p)
        {
            return new PointF(p.X, p.Y);
        }

        public static System.Windows.Point ConvertPoint(this Point p)
        {
            return new System.Windows.Point(p.X, p.Y);
        }
    }
}
